package com.jiaeda.shiromaster.service;

import com.jiaeda.shiromaster.entity.SysPermission;

import java.util.List;

/**
 * Created by chengchaopeng on 2018/6/27.
 */
public interface SysPermissionService {

    List<SysPermission> findByPermissionIds(String[] permissionIds);

    /**
     * 通过用户登录账户获取用户权限信息
     *
     * @param loginAccount
     * @return
     */
    List<SysPermission> findByLoginAccount(String loginAccount);
}
